package com.tanjie.blackbean.pojo.system;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: tanjie
 * @date: 2021-12-01
 **/
@Getter
@AllArgsConstructor
public enum UserType {

    SYS(1, "后台系统"),
    OPT(2, "运营商"),
    ;

    @EnumValue
    @JsonValue
    private final int code;

    private final String desc;

}
